﻿using System;
using TechTalk.SpecFlow;
using Framework.Test;
using Identity.Model;

namespace Front.Test
{
    [Binding, Scope(Feature = "recharge")]
    public class recharge
    {
        #region recharge owner account taobao

        #region Given

        [Given(@"input recharge owner data:'(.*)'")]
        public void GivenInputRechargeOwnerData(string cause)
        {
            switch (cause) {
                case "1":
                    //ModelHelper.InitAsyncModel<TBReChargeOwnerModel>();
                    break;
                case "2": break;
                case "3": break;
                case "4": break;
                case "5": break;
            }
        }

        #endregion Given

        #region When

        [When(@"submit request")]
        public void WhenSubmitRequest()
        {
            ModelHelper.ExecuteAsyncModel();
        }

        #endregion When

        #region Then

        [Then(@"response recharge owner result:'(.*)'")]
        public void ThenResponseRechargeOwnerResult(string result)
        {
            switch (result)
            {
                case "1": break;
                case "2": break;
                case "3": break;
                case "4": break;
                case "5": break;
            }
        }

        #endregion Then

        #region Cause

        private void VerifyCodeFailed(IValidateIdentity model)
        { 
            
        }

        #endregion Cause

        #region Result

        #endregion Result

        #endregion recharge owner account taobao


    }
}
